import type { PageModuleTypes } from '../types/index';

/** 名片分包 */
const modules: PageModuleTypes[] = [
  {
    path: 'personCard',
    name: 'personCard',
    navigationStyle: 'custom',
    navigationBarTitleText: '个人名片',
  },
  {
    path: 'businessCard',
    name: 'businessCard',
    navigationStyle: 'custom',
    navigationBarTitleText: '单位名片',
  },
  {
    path: 'editPersonCard',
    name: 'editPersonCard',
    navigationStyle: 'custom',
    navigationBarTitleText: '编辑个人名片',
  },
  {
    path: 'adminEditPersonCard',
    name: 'adminEditPersonCard',
    navigationStyle: 'custom',
    navigationBarTitleText: '编辑个人名片',
  },
  {
    path: 'editAffiliatedCompanies',
    name: 'editAffiliatedCompanies',
    navigationStyle: 'custom',
    navigationBarTitleText: '编辑名下企业',
  },
  {
    path: 'adminEditAffiliatedCompanies',
    name: 'adminEditAffiliatedCompanies',
    navigationStyle: 'custom',
    navigationBarTitleText: '编辑名下企业',
  },
  {
    path: 'editBusinessCard',
    name: 'editBusinessCard',
    navigationStyle: 'custom',
    navigationBarTitleText: '编辑单位名片',
  },
  {
    path: 'adminEditBusinessCard',
    name: 'adminEditBusinessCard',
    navigationStyle: 'custom',
    navigationBarTitleText: '编辑单位名片',
  },
  {
    path: 'elegantDemeanourManage',
    name: 'elegantDemeanourManage',
    navigationStyle: 'custom',
    navigationBarTitleText: '风采管理',
  },
  {
    path: 'selectShowMembers',
    name: 'selectShowMembers',
    navigationStyle: 'custom',
    navigationBarTitleText: '选择展示成员',
  },
  {
    path: 'cardMemberCouponList',
    name: 'cardMemberCouponList',
    navigationStyle: 'custom',
    navigationBarTitleText: '福利券列表',
    backgroundColor: '#f5f5f5',
  },
  {
    path: 'cardAccessRecord',
    name: 'cardAccessRecord',
    navigationStyle: 'custom',
    navigationBarTitleText: '访问记录',
    backgroundColor: '#f5f5f5',
    enablePullDownRefresh: true
  },
  // {
  //   path: 'memberUnitsDetails',
  //   name: 'memberUnitsDetails',
  //   navigationStyle: 'custom',
  //   navigationBarTitleText: '会员单位详情',
  //   enablePullDownRefresh: true,
  //   children: [
  //     {
  //       path: 'unitsPersonInfoEdit',
  //       name: 'unitsPersonInfoEdit',
  //       navigationStyle: 'custom',
  //       navigationBarTitleText: '人员信息编辑',
  //     },
  //   ],
  // },
];

export default modules;
